﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Attributes
{
	/// <summary>
	/// Marks a property as a configuration handle for an instantiated component.  This could
	/// be used, for example, to populate a property sheet on a designer GUI
	/// </summary>
	[global::System.AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
	sealed class ConfigAttribute : Attribute
	{
		/// <summary>
		/// Used in property pages to describe the property.  Empty by default.
		/// </summary>
		public string Description { get; set; }

		public ConfigAttribute()
		{
			Description = "";
		}
	}
}
